Skip to content

Conversation

@fkhan-bread
Copy link
Contributor

No description provided.

dschoder-bread
dschoder-bread previously approved these changes Dec 6, 2024

$transactionAdditionalInfo = $payment->getTransactionAdditionalInfo();

$settleResult = isset($transactionAdditionalInfo['settle_result'])

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shopify checks this value for all transaction updates. Settle/Refund/Void/Capture/Authorize. If the transaction is already in that state, we log and don't do anything. Might make sense to do that for the others as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dschoder-bread good call. I'll update it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fkhan-bread fkhan-bread merged commit 103359d into master Dec 16, 2024
@fkhan-bread fkhan-bread deleted the fix-multiple-settle-retries branch December 16, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants